package com.zuo.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zuo.mall.common.api.CommonPage;
import com.zuo.mall.dto.PmsBrandParam;
import com.zuo.mall.entity.PmsBrand;

import java.util.List;

public interface PmsBrandService extends IService<PmsBrand> {
    /**
     * 分页查询品牌
     */
    CommonPage<PmsBrand> listBrand(String keyword, Integer showStatus, Integer pageNum, Integer pageSize);

    int create(PmsBrandParam brandParam);

    int updateFactoryStatusBatch(List<Long> ids, Integer factoryStatus);

    int update(List<Long> ids, Integer showStatus);

    int delete(Long brandId);
}
